using System;
using System.Windows.Forms;

namespace EnsoDeveloperExtension.SampleApp.Test
{
    public partial class SampleForm : Form
    {
        public SampleForm()
        {
            InitializeComponent();
        }

        private void SampleForm_Load(object sender, EventArgs e)
        {
            EnsoExtensionManager.Instance.Start();
            EnsoExtensionManager.Instance.AddCommand(new TestCommand());
            EnsoExtensionManager.Instance.AddCommand(new TestCommand2());
        }

        private void SampleForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            EnsoExtensionManager.Instance.Stop();
            
        }
    }
}